<template>
    <div class="base-container">
        <div class="three">
            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    系列课程: {{ info.classSubject }}
                </div>
            </div>

            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    培训职业: {{ info.drillCareer }}
                </div>
            </div>
        </div>
        <div class="three">
            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    职业等级: {{ info.careerLevel }}
                </div>
            </div>

            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    职业方向: {{ info.careerPath }}
                </div>
            </div>
        </div>

        <div class="three">
            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    报名时间: {{ info.enrollTime }}
                </div>
            </div>
            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    课程有效期: {{ info.coursePeriod }}
                </div>
            </div>
        </div>
        <div class="three">
            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    理论考试时间: {{ info.examTime }}
                </div>
            </div>
            <div class="one-box">
                <div class="left-line"></div>
                <div>
                    实操考试时间: {{ info.practicalTime }}
                </div>
            </div>
        </div>
        <div class="one-box" style="margin-bottom: 10px;">
            <div class="left-line"></div>
            <el-tooltip effect="dark" content="符合一下条件之一" placement="top-start">
                <el-icon>
                    <WarningFilled />
                </el-icon>
            </el-tooltip>
            <div>
                报名条件:
            </div>
        </div>
        <div style="font-size: 14px;color: #333333; margin-left: 50px;margin-right: 50px;">
            {{ info.enrollCondition }}
        </div>
    </div>
</template>
<script setup>
import { onMounted } from 'vue';
import { useRouter, useRoute } from 'vue-router'
const { proxy } = getCurrentInstance();
const router = useRouter()
const route = useRoute()
const info = ref({})
onMounted(() => {
    info.value = route.query
    console.log(info)
})
</script>
<style lang="scss" scoped>
.base-container {
    background-color: white;
    // height: 700px;
}

.one-box {
    width: 50%;
    display: flex;
    align-items: center;
    font-size: 15px;
    color: #333333;
    margin-bottom: 40px;
    margin-left: 20px;

    .left-line {
        width: 5px;
        height: 20px;
        background: #298DFF;
        border-radius: 3px;
        margin-right: 6px;
    }

}

.three {
    display: flex;

}
</style>